import {Navigate} from "react-router-dom";
import Home from "../Home";
import { Homedetail } from "../Home/Homedetail";
import  Homedetailpic  from "../Home/Homedetailpic";
import Ranking from '../HomeRanking'

const MyRoutes = 
	[
        {
            path: "/detail",
            element: <Homedetail/>
        },
        {
            path:'/',
            element: <Home/>,
        },
        {
            path:'/detailpic/:index',
            element: <Homedetailpic/>,
        },
        {
            path:'/ranking',
            element: <Ranking/>
        }

        
	]
export default MyRoutes
